package singleton.myself.hungry;

public class HungrySingleton {
    public static final HungrySingleton hungrySingleton =new HungrySingleton();

    public synchronized static  HungrySingleton getInstance(){
        return hungrySingleton;
    }
}
